	//
	//  User.h
	//  uivc
	//
	//  Created by 包子 on 12-8-10.
	//  Copyright 2012 __MyCompanyName__. All rights reserved.
	//

#import <Foundation/Foundation.h>


@interface User : NSObject {
	int id;
	NSString* name;//昵称
	NSString* userCode; //登陆用户名
	NSString* cardCode;//会员卡密码
	NSString* password;//登陆密码
	NSString* payPassword;//支付密码
	NSString* balance;//余额
	NSString* rewards;//积分
	NSString* phone;//积分
	bool isLogin;//是否登陆
	bool isAutoLogin;//是否登陆
	NSString* loginMessage;//支付密码
}

@property int id;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSString * userCode;
@property (nonatomic, retain) NSString * cardCode;
@property (nonatomic, retain) NSString * password;
@property (nonatomic, retain) NSString * payPassword;
@property (nonatomic, retain) NSString * loginMessage;
@property (nonatomic, retain) NSString * balance;
@property (nonatomic, retain) NSString * rewards;
@property (nonatomic, retain) NSString * phone;

@property bool isLogin;
@property bool isAutoLogin;

-(bool)login;

-(bool)unLogin;

@end
